import request from '@/utils/request'

// 分页查询
export function getStockBatchPageList(data) {
  return request({
    url: '/stockBatch/getStockBatchPageList',
    method: 'POST',
    data
  })
}
// 待出库列表
export function getWaitOutList(data) {
  return request({
    url: '/stockBatch/getWaitOutList',
    method: 'post',
    data
  })
}
// 调库存
export function adjustStockBatchStock(data) {
  return request({
    url: '/stockBatch/adjustStockBatchStock',
    method: 'post',
    data
  })
}
// 移库存
export function moveStockBatchLocation(data) {
  return request({
    url: '/stockBatch/moveStockBatchLocation',
    method: 'post',
    data
  })
}

export function getBatchLogList(bizType, orderNo) {
  return request({
    url: '/stockBatch/getStockBatchLogLists/' + bizType + '/' + orderNo,
    method: 'post',
  })
}
